<?php
/**
 * Filter HTTP/POST inputs
 *
 */
class PostFilter{

    /**
     * Filter HTTP/POST inputs
     *
     */
    public static function filter(){
        
        Zend_Loader::loadClass('Zend_Filter_StripTags');
        $filter = new Zend_Filter_StripTags();
        foreach($_POST as $key => $value){
             
             $_POST[$key] = $filter->filter(trim($value));
        }
    }
}
